package com.cn.jinl.dao;

import com.cn.jinl.domain.ProductStorage;
import com.cn.jinl.domain.ProductStorageExample;
import java.util.List;

import com.cn.jinl.domain.ProductStorageMXVo;
import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface ProductStorageMapper {
    int countByExample(ProductStorageExample example);

    int deleteByExample(ProductStorageExample example);

    int insert(ProductStorage record);

    int insertSelective(ProductStorage record);

    List<ProductStorage> selectByExample(ProductStorageExample example);

    List<ProductStorage> selectProductStorageList(QueryForm queryForm);
    int selectProductStorageListCount(QueryForm queryForm);

    List<ProductStorageMXVo> selectProductStorageMXList(QueryForm queryForm);
    int selectProductStorageMXListCount(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") ProductStorage record, @Param("example") ProductStorageExample example);

    int updateByExample(@Param("record") ProductStorage record, @Param("example") ProductStorageExample example);
}